ImageObject

Wraps a struct image storage type into a class

Constructors

this
this(Impl* instance)
Undocumented in source.
this
this(size_t width, size_t height, shared(ISharedAllocator) allocator)
Undocumented in source.
this
this(size_t width, size_t height, IAllocator allocator)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

Color
alias Color = ImageColor!Impl
Undocumented in source.

Functions

getPixel
Color getPixel(size_t x, size_t y)
Undocumented in source. Be warned that the author may not have intended to support it.
getPixel
Color getPixel(size_t x, size_t y)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
Color opIndex(size_t x, size_t y)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
Color opIndex(size_t x, size_t y)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(Color value, size_t x, size_t y)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(Color value, size_t x, size_t y)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
bool resize(size_t newWidth, size_t newHeight)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
bool resize(size_t newWidth, size_t newHeight)
Undocumented in source. Be warned that the author may not have intended to support it.
setPixel
void setPixel(size_t x, size_t y, Color value)
Undocumented in source. Be warned that the author may not have intended to support it.
setPixel
void setPixel(size_t x, size_t y, Color value)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

height
size_t height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
height
size_t height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
width
size_t width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
width
size_t width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta